<p>Выбранный диапазон дат: c <b>
<?php

$start=$PreparedTemplates['date_start'];
$end=$PreparedTemplates['date_end'];
$sec_st = strtotime($start);
$sec_end=strtotime($end);
$date_st=date("F j, Y", $sec_st);
$date_end=date("F j, Y", $sec_end);
echo $date_st;
?>
</b> до <b>
<?php 
echo $date_end;
?></b>

<table class="report">
<tr> <th>IP</th> 
<th>Trafic</th>
</tr>
<?php
if (isset($PreparedTemplates['report_form']['empty'])) {
	echo $PreparedTemplates['report_form']['empty'];
}
else {
foreach ($PreparedTemplates['report_form']['trafic'] as $report_row)
{
	
?>
  <tr>
	  <td>
	  <?php echo $report_row['ip']?>
	  </td>
	  <td>
	  <?php echo $report_row['trafic_format']?>
	  </td>
  </tr>
<?php 
}}
?>
</table>